package com.qfedu.lc.app.service;

import com.qfedu.lc.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * --- 年薪百万 ---
 * ---So easy---
 *
 * @author ZhiHuiJun
 * @motto 学习都是人上人
 * @desc 就是很帅很优秀
 * @CC 每天漂亮、幸福、快乐、自由
 */
@Service
@FeignClient(value = "lc-userserver")
public interface SmsLogFeign {

    @RequestMapping("/sms/sendRegisterCode")
    R sendRegisterCode(@RequestParam("phone") String phone);

    @RequestMapping("/sms/sendLoginCode")
    R senLoginCode(@RequestParam("phone") String phone);

}
